package com.lyon.custom.core;

import com.lyon.custom.common.constants.PropertyChangeType;
import lombok.Data;

/**
 * @author LeeYan9
 * @since 2021-12-01
 */
@Data
public class ConfigChangeItem {

    private String key;

    private String oldValue;

    private String newValue;

    private PropertyChangeType type;

    public ConfigChangeItem(String key, String oldValue, String newValue) {
        this.key = key;
        this.oldValue = oldValue;
        this.newValue = newValue;
    }
}
